<?php
namespace app\index\controller;
use think\Controller;
use think\Db;

class Message  extends Home{
	//文章列表
	public function index($id=""){
		

		$map["uid"]=is_login();
        $res=getLists('message',$map,10,'id desc',"");
	    $this->assign('res', $res);
		return $this->fetch();
	}

	
}